//
//  SwitchCerterViewModel.m
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/12/4.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "SwitchCerterViewModel.h"

@interface SwitchCerterViewModel ()

@property (nonatomic, strong) RACCommand* chooseCmd;

@end

@implementation SwitchCerterViewModel

#pragma mark - Ovrride
- (void)initialize
{
    [super initialize];
    
    @weakify(self)
    
    self.chooseCmd = [[RACCommand alloc] initWithSignalBlock:^RACSignal *(id input)
    {
        @strongify(self);
        
        return [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber)
        {
            [subscriber sendNext:input];
            [subscriber sendCompleted];
            
            return nil;
        }];
    }];
}

@end
